package icu.groot.alan.hotel.controller.detection;

import icu.groot.alan.hotel.util.response.Health;
import icu.groot.alan.hotel.util.response.Result;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;

/**
 * System health detection
 */
@RestController
@RequestMapping("/detection")
//@CrossOrigin
public class DetectionController {
    @ApiOperation("Health detection")
    @RequestMapping(value = "/health")
    @ResponseBody
    public Result<String> health(){
        return Result.success("health......");
    }
}
